/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package frmsystem;

import java.util.ArrayList;
import java.util.List;
import java.util.Observer;

/**
 *
 * @author imran
 */
public interface IParty extends Observer{

	public void openAccount(IAccount account);
	public void closeAccount(String accountNo);
	public void generateEmail(String subject, String msg);
	public ArrayList<IAccount> getAccounts();
    //public void applyInterest(); not needed
    
    
    // Getters & Setters
    public String getCity();
    public void setCity(String city);
    public String getEmail();
    public void setEmail(String email);
    public String getName();
    public void setName(String name);
    public String getState();
    public void setState(String state);
    public String getStreet();
    public void setStreet(String street);
    public String getZip();
    public void setZip(String zip);
    public int getType();
    
}
